<?php

namespace app\index\controller;

use app\BaseController;

use think\Request;

Class User {

  public function __construct(Request $request) {
    $this->request = $request;
  }
  
  public function index() {
    return 'hello user';
  }

  public function hello($name) {
    return 'hello' . $name . $this->request->action();
  }

}
